package com.fw.system.admin.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 支出收益对象 tb_amount_log
 * 
 * @author xxx
 * @date 2021-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_amount_log")
@ApiModel(value="支出收益", description="支出收益表")
public class TbAmountLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @TableField("id")
    private String id;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("user_id")
    private String userId;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("log_name")
    private String logName;

    /** 日志金额 */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "日志金额")
    @TableField("log_count")
    private BigDecimal logCount;

    /** 1充值 2提现 3消费 4收入 5下级购买vip获得直推奖励 */
    @ApiModelProperty(value = "日志金额")
    @Excel(name = "1充值 2提现 3消费 4收入 5下级购买vip获得直推奖励")
    @TableField("log_type")
    private Long logType;

    /** 如果是充值操作 1待审核 2失败 3成功 */
    @ApiModelProperty(value = "1充值 2提现 3消费 4收入 5下级购买vip获得直推奖励")
    @Excel(name = "如果是充值操作 1待审核 2失败 3成功")
    @TableField("is_status")
    private Long isStatus;

    /** 凭证地址 */
    @ApiModelProperty(value = "如果是充值操作 1待审核 2失败 3成功")
    @Excel(name = "凭证地址")
    @TableField("img_url")
    private String imgUrl;


    @TableField(exist = false)
    private String aliUserName;

    @TableField(exist = false)
    private String aliAccount;

    @TableField(exist = false)
    private String bankName;

    @TableField(exist = false)
    private String bankCar;


    /**
     * 范围开始查询订单
     */
    @TableField(exist = false)
    private String creStartDate;

    /**
     * 范围结束查询订单
     */
    @TableField(exist = false)
    private String creEndDate;

}
